package com.sun.gulimall.member.feign;

import com.sun.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 远程调用服务
 */
@FeignClient(name = "gulimall-coupon")
public interface CouponFeignService {

    /**
     * todo: 将远程服务的整个方法复制过来，保持一样ok,路径要保持完整
     * @return
     */
    @RequestMapping("/coupon/coupon/member/list")
    public R memberCouponList();
}
